package com.taoyusen.jpf.proxy
{
	import mx.rpc.AsyncToken;
	import mx.rpc.remoting.RemoteObject;
	
	public class UserInfoProxy
	{
		private var userInfoRo:RemoteObject
		
		public function UserInfoProxy()
		{
			var destination:String = null;
			destination ="userInfoFacade";
			userInfoRo = new RemoteObject(destination);
		}

		public function getAllUserInfoDto():AsyncToken
		{
			return userInfoRo.getAllUserInfoDto();
		}
		
		public function getUserInfoByMap(userMap:Object):AsyncToken
		{
			return userInfoRo.getUserInfoByMap(Object);
		}
		
		public function getUserInfoByuserName(userName:String):AsyncToken
		{
			return userInfoRo.getUserInfoByuserName(userName);
		}
		
		public function deleteUserByuserId(userId:String):AsyncToken
		{
			return userInfoRo.deleteUserByuserId(userId);
		}

	}
}